package org.geektimes.web.mvc.servlet;

import org.geektimes.web.mvc.context.ComponentContext;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;

/**
 * @author :   chuan
 * @date :   2021/03/23
 */
public class MyComponentContextInitializer implements MyWebMvcInitializer {

    @Override
    public void onStartup(ServletContext servletContext) throws ServletException {
        ComponentContext context = new ComponentContext();
        context.init(servletContext);

        System.out.println(this.getClass().getSimpleName() + "--------Load Success-------->");

    }
}
